package com.api.common.alert.model;

import lombok.Getter;

/**
 * 告警级别
 */
@Getter
public enum AlertLevel {
    
    CRITICAL("紧急", 1, "🔴"),
    HIGH("高", 2, "🟠"),
    MEDIUM("中", 3, "🟡"),
    INFO("信息", 4, "🟢");
    
    private final String name;
    private final int priority;
    private final String icon;
    
    AlertLevel(String name, int priority, String icon) {
        this.name = name;
        this.priority = priority;
        this.icon = icon;
    }
}